// 合并所有的reducer,创建store
import loginReducer from '../views/login/redux'
import cartReducer from '../views/login/redux'
import {combineReducers} from 'redux'
import {createStore} from 'redux'

// 合并reducer
export const reduces = combineReducers({
    login: loginReducer,
    cart: cartReducer
})

// 创建store
const store = createStore(reduces);
export default store;